package com.wms.biz.enums;

import com.common.api.iface.CodeNameEnumFace;

import lombok.AllArgsConstructor;

/**
 * @author ficus
 * 任务执行状态
 */
@AllArgsConstructor
public enum TaskExecuteStatusEnum implements CodeNameEnumFace {
	create("create","新建"),
	running("running","执行中"),
//	suspend("suspend","挂起中"),
	end("end","正常结束"),
	exception_end("exception_end","异常结束"),
	;
	private String code;
	
	private String name;
	
	@Override
	public String getEunmCode() {
		return code;
	}

	@Override
	public String getEnumName() {
		return name;
	}

}
